<%@ page language="java" contentType="text/html; charset=EUC-KR"
	pageEncoding="EUC-KR" import="com.db.*"%>

<%
	request.setCharacterEncoding("EUC-KR");
	MenuImageDAO dao = MenuImageDAO.newInstance();

	String type = request.getParameter("type");
	if (type == null)
		type = "0";

	int no = Integer.parseInt(type);
	String jsp = "home.jsp";

	// �����̴� �ٺ� �Դϴ�
	// 하나둘셋넷
	switch (no) {
	case 0:
		jsp = "home.jsp";
		break;
	case 1:
		jsp = "menu/menuhome.jsp";
		break;
	case 2:
		jsp = "menu/eventhome.jsp";
		break;
	case 3:
		jsp = "menu/discounthome.jsp";
		break;
	case 4:
		jsp = "menu/findstorehome.jsp";
		break;
	case 5:
		jsp = "menu/onlineorderhome.jsp";
		break;
	case 6:
		jsp = "menu/loginhome.jsp";
		break;
	case 7:
		jsp = "menu/join/join1.jsp";
		break;
	case 8:
		jsp = "menu/aboutushome.jsp";
		break;
	case 9:
		jsp = "menu/menusub/pizza/pizzamain.jsp";
		break;
	case 10:
		jsp = "menu/menusub/side/side.jsp";
		break;
	case 11:
		jsp = "menu/menusub/drink/drink.jsp";
		break;
	case 12:
		jsp = "menu/menuinsert.jsp";
		break;
	case 13:
		jsp = "menu/loginhome.jsp";
		break;
	case 14:
		jsp = "menu/loginhome2.jsp";
		break;
	case 15:
		jsp = "menu/join/join2.jsp";
		break;
	case 16:
		jsp = "menu/join/join3.jsp";
		break;
	case 17:
		jsp = "menu/join/join4.jsp";
		break;
	case 18:
		jsp = "menu/join/join3_ok.jsp";
		break;
	case 19:
		jsp = "menu/eventhome2.jsp";
		break;
	case 20:
		jsp ="menu/eventhome.jsp";
		break;
	case 21:
		jsp ="menu/eve1/e1.jsp";
		break;
	case 22:
		jsp ="menu/eve1/e2.jsp";
		break;
	case 23:
		jsp ="menu/eve1/e3.jsp";
		break;
	case 24:
		jsp ="menu/eve1/e4.jsp";
		break;
	case 25:
		jsp ="menu/eve1/e5.jsp";
		break;
	case 26:
		jsp ="menu/eve1/e6.jsp";
		break;
	case 27:
		jsp ="menu/eve1/e7.jsp";
		break;
	case 28:
		jsp ="menu/eve1/e8.jsp";
		break;
	
	}
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">
<title>Insert title here</title>
<link href="css/topmenu.css" rel="stylesheet" type="text/css" />
<link href="css/pizza.css" rel="stylesheet" type="text/css" />
<link href="css/menu.css" rel="stylesheet" type="text/css" />
</head>
<body>

	<center>
		<table width="1200" cellpadding="0" cellspacing="0" border=0>

			<tr>

				<td><jsp:include page="top.jsp" /></td>

			</tr>

			<tr>

				<td align="center" width="1200"><jsp:include page="<%=jsp %>" /></td>
			</tr>


			<tr>
				<td><jsp:include page="bottom.jsp" /></td>
			</tr>


		</table>
	</center>
</body>
</html>